import request from '@/utils/request'

export function getPandect(params) {
  return request({
    url: 'buvInvestorCounterpartyController.do?getPandect',
    method: 'get',
    params
  })
}
export function getDetails(params) {
  return request({
    url: 'buvInvestorCounterpartyController.do?getDetails',
    method: 'get',
    params
  })
}
export function getGroupDetails(params) {
  return request({
    url: 'buvInvestorCounterpartyController.do?getGroupDetails',
    method: 'get',
    params
  })
}
export function exportXls(params) {
  return request({
    url: 'buvInvestorCounterpartyController.do?exportXls',
    method: 'get',
    params,
    responseType: 'blob'
  })
}
export function exportDetails(params) {
  return request({
    url: 'buvInvestorCounterpartyController.do?exportDetails',
    method: 'get',
    params,
    responseType: 'blob'
  })
}

